<html>
  <head>
    <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Redis数据类型 | Elvis Zhang</title>
<meta name="description" content="The easy way or the right way." />
<link rel="shortcut icon" href="https://blog.shunzi.tech/favicon.ico">
<link rel="stylesheet" href="https://blog.shunzi.tech/styles/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.10.0/katex.min.css">

<script data-ad-client="ca-pub-7661668224317940" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script src="https://blog.shunzi.tech/media/js/jquery.min.js"></script>
<script src="https://blog.shunzi.tech/media/js/masonry.pkgd.min.js"></script>
<script src="https://blog.shunzi.tech/media/js/aos.js"></script>
<script src="https://blog.shunzi.tech/media/js/pace.min.js"></script>
<script src="https://blog.shunzi.tech/media/js/view-image.min.js"></script>
<script src="https://blog.shunzi.tech/media/js/jquery.magnific-popup.min.js"></script>
<script src="https://blog.shunzi.tech/media/js/functions.js"></script>
    <meta name="referrer" content="never">
    <meta name="description" content="

此篇博文主要是结合命令行工具介绍Redis数据类型。
Redis基础知识篇。
后续会对相关实现机制和核心思想进行深入探讨。




Redis支持五种数据类型：string（字符串），hash（哈希），list（列表），set（集合）及..." />
    <meta name="keywords" content="Redis" />
    <script src="https://blog.shunzi.tech/media/js/waterfall.min.js"></script>
    <script src="https://blog.shunzi.tech/media/js/prism.min.js"></script>
  </head>
  <body>
            <header id="header" class="grid-container">
        <!-- start: .menu-wrapper -->
        <div class="menu-mobile"> 
          <i class="fa fa-reorder"></i>
        </div>
        <div class="menu-wrapper">
          <div class="">
            <div class="logo">
              <a href="https://blog.shunzi.tech"><img src="\media\images\custom-headerLogo.jpg" alt=""></a>
            </div>
            <!-- start: .main-nav -->

            <nav class="main-nav grid-container grid-parent">
              <ul id="menu-header" class="menu gradient-effect">
                <li class=""><a href="https://blog.shunzi.tech" class="menu">首页</a></li>
                
                  <li class="" >
                    <a href="/archives" class="menu">
                      归档
                    </a>
                  </li>
                
                  <li class="" >
                    <a href="/tag/diary" class="menu">
                      随笔
                    </a>
                  </li>
                
                  <li class="" >
                    <a href="/movies" class="menu">
                      观影
                    </a>
                  </li>
                
                  <li class="" >
                    <a href="/post/about" class="menu">
                      关于
                    </a>
                  </li>
                
                <li class="search-menu-item hide-on-mobile hide-on-tablet"><a href="#search-lightbox" class="lightbox mfp-inline"><i class="fa fa-search-line"></i></a></li>
              </ul>
            </nav>
            <a href="#search-lightbox" class="lightbox epcl-search-button mfp-inline hide-on-tablet hide-on-desktop"><i class="fa fa-search-line"></i></a>
            <!-- end: .main-nav -->
            <div class="clear"></div>
            <div class="border hide-on-tablet hide-on-mobile"></div>
          </div>    
          <div class="clear"></div>
        </div>
        <!-- end: .menu-wrapper -->
        <div class="clear"></div>
      </header>
      <div class="hide-on-mobile hide-on-tablet hide-on-desktop">
        <div id="search-lightbox" class="grid-container grid-small grid-parent mfp-hide">
          <div class="search-wrapper section">
            <form id="gridea-search-form" data-update="1620954331293" action="/search/index.html" class="search-form" _lpchecked="1">
              <input type="text" name="q" id="s" value="" class="search-field" placeholder="搜点啥..." aria-label="搜点啥..." required="">
              <button type="submit" class="submit" aria-label="Submit">
                <i class="fa fa-search-line"></i>
              </button>
            </form>
          </div>
        </div>
      </div>

      <main id="single" class="main grid-container fullcover no-sidebar aos-init aos-animate" data-aos="fade">

        <div class="center content">
          <div class="featured-image cover" style="background-image: url('\media\images\custom-featureImage.jpg');">
            <div class="meta top"> 
              <time class="meta-info" style="float:left;" datetime="2017-12-07"><i class="fa fa-calendar"></i><span class="lately">3 年前</span></time>
              
              <a href="https://blog.shunzi.tech/post/redis-data-structure-two/#comments" class="comments meta-info" title="">
                <i class="fa fa-comment remixicon"></i><span class="comment-count valine-comment-count" data-xid="/redis-data-structure-two/"> </span>
              </a>
              <span id="/redis-data-structure-two/" class="leancloud_visitors views-counter meta-info" title=""><i class="fa fa-leancloud remixicon"></i><span class="leancloud-visitors-count"></span></span>
              
            </div>
            <div class="info">
              <div class="tags ">
                
                      <a href="https://blog.shunzi.tech/tag/redis/" class="ctag ctag-0 ctag-redis" aria-label="">Redis</a>
                    
              </div>
              <h1 class="title ularge white bold">Redis数据类型</h1>
            </div>
          </div>
        </div>  

        <div class="epcl-page-wrapper">
          <div class="left-content grid-70 np-mobile">
            <article class="main-article post">
              <section class="post-content">
                <div class="text">
                  <blockquote>
<ul>
<li>此篇博文主要是结合命令行工具介绍Redis数据类型。</li>
<li>Redis基础知识篇。</li>
<li>后续会对相关实现机制和核心思想进行深入探讨。</li>
</ul>
</blockquote>
<!-- more -->
<ul>
<li>Redis支持五种数据类型：string（字符串），hash（哈希），list（列表），set（集合）及zset(sorted set：有序集合)</li>
</ul>
<!-- more -->
<h4 id="string">string</h4>
<ul>
<li><code>string</code>是<code>redis</code>最基本的类型，你可以理解成与<code>Memcached</code>一模一样的类型，一个<code>key</code>对应一个<code>value</code>。</li>
<li><code>string</code>类型是二进制安全的。意思是<code>redis</code>的<code>string</code>可以包含任何数据。比如jpg图片或者序列化的对象 。</li>
<li><code>string</code>类型是<code>Redis</code>最基本的数据类型，一个键最大能存储<strong>512MB</strong>。</li>
</ul>
<pre><code>127.0.0.1:6739 &gt; set name elvis
OK
127.0.0.1:6739 &gt; get name
&quot;elvis&quot;
127.0.0.1:6739 &gt; getset name shunzi
&quot;elvis&quot;
127.0.0.1:6739 &gt; get name
&quot;shunzi&quot;
127.0.0.1:6739 &gt; del name
(interger) 1
127.0.0.1:6739 &gt; get name
(nil)

// 使用自增自减符，若变量不存在则初始化为0 
127.0.0.1:6739 &gt; incr num
(interger) 1
127.0.0.1:6739 &gt; get num
&quot;1&quot;
127.0.0.1:6739 &gt; incr num
(interger) 2
127.0.0.1:6739 &gt; get num
&quot;2&quot;
127.0.0.1:6739 &gt; incr name
(error) ERR value is not an integer or out of range
127.0.0.1:6739 &gt; decr num
(interger) 1
127.0.0.1:6739 &gt; get num
&quot;1&quot;
127.0.0.1:6739 &gt; decr num2
(interger) -1

// incryby decrby
127.0.0.1:6739 &gt; incrby num 5
(interger) 6
127.0.0.1:6739 &gt; incrby num3 5
(interger) 5
127.0.0.1:6739 &gt; decrby num 3
(interger) 3
127.0.0.1:6739 &gt; decrby num4 3
(interger) -3

// append返回拼接的字符串长度
127.0.0.1:6739 &gt; append num 5
(interger) 2
127.0.0.1:6739 &gt; get num
&quot;35&quot;
127.0.0.1:6739 &gt; append num5 123
(interger) 3
127.0.0.1:6739 &gt; get num5 
&quot;123&quot;
</code></pre>
<h4 id="hash">Hash</h4>
<ul>
<li>Redis hash 是一个键值(key=&gt;value)对集合。</li>
<li>Redis hash是一个string类型的field和value的映射表，hash特别适合用于存储对象。</li>
<li>每个 hash 可以存储 232 -1 键值对（40多亿）。</li>
</ul>
<hr>
<ul>
<li><code>HSET key field value</code>//设置键以及其中的属性（单个属性）</li>
<li><code>HMSET key field value key value...</code>//设置键以及其中的属性(多个属性)</li>
<li><code>HGETALL key</code>// 获取该键对应的所有属性名和属性值</li>
<li><code>HGET key field</code> //获取该健对应的属性对应的值</li>
<li><code>HMGET key field1 field2</code>//获取该键对应的多个属性的值</li>
<li><code>HDEL key field1 field2</code>//删除对应的键对应的属性</li>
<li><code>del key</code>//删除键对应的value</li>
<li><code>HEXISTS key field</code>//判断键对应的对象中是否存在field属性,存在返回1 否返回0</li>
<li><code>HLEN key</code>//获取键对应的属性个数</li>
<li><code>hkeys key</code>//获取键对应的属性的属性名</li>
<li><code>hvals key</code>//获取键对应的属性 的属性值</li>
</ul>
<pre><code>127.0.0.1:6379&gt; HMSET user:1 username zhangjianshun password 123456 age 18 college UESTC
OK
127.0.0.1:6379&gt; HGETALL user:1
1) &quot;username&quot;
2) &quot;zhnagjianshun&quot;
3) &quot;password&quot;
4) &quot;123456&quot;
5) &quot;age&quot;
6) &quot;18&quot;
7) &quot;college&quot;
8) &quot;UESTC&quot;
127.0.0.1:6379&gt; HGET user:1 college
&quot;UESTC&quot;
127.0.0.1:6379&gt; hincrby user:1 age 2
(interger) 20
127.0.0.1:6379&gt; hexists user:1 username
(interger) 1
</code></pre>
<h4 id="list">List</h4>
<ul>
<li>Redis 列表是简单的字符串列表，按照插入顺序排序。你可以添加一个元素到列表的头部（左边）或者尾部（右边）。</li>
<li>列表最多可存储 232 - 1 元素 (4294967295, 每个列表可存储40多亿)。</li>
<li><code>lpush key value1 value2 ...</code>//从左开始添加</li>
<li><code>rpush key value1 value2 ...</code>//从右开始添加</li>
<li><code>lrange key index1 index2</code>//从左开始查看index1 ~ index2,若index为负数，则倒数对应的个数</li>
<li><code>lpop key</code>//左端弹出，之后list中该元素</li>
<li><code>rpop key</code>//右端弹出</li>
<li><code>llen key</code>//获取元素个数</li>
<li><code>lpushx key value</code>//仅仅当key存在时才进行插入，同理rpushx</li>
<li><code>lremo key count value</code>//删除指定count个值为value的元素，若count&lt;0，删除顺序反向，若count=0，则删除所有的对应的value</li>
<li><code>lset key index value</code>//设定对应的角标的值，index若为-1，则为末尾</li>
<li><code>linsert key before/after value newValue</code>//在指定元素前后插入新元素</li>
</ul>
<hr>
<h5 id="常用于消息队列的使用场景">常用于消息队列的使用场景</h5>
<ul>
<li><code>rpoplpush key1 key2</code>//弹出key1的一个元素压入key2</li>
</ul>
<pre><code class="language-cmd">redis 127.0.0.1:6379&gt; lpush database redis
(integer) 1
redis 127.0.0.1:6379&gt; lpush database mongodb
(integer) 2
redis 127.0.0.1:6379&gt; lpush database rabitmq
(integer) 3
redis 127.0.0.1:6379&gt; lrange database 0 10
1) &quot;rabitmq&quot;
2) &quot;mongodb&quot;
3) &quot;redis&quot;
redis 127.0.0.1:6379&gt;
</code></pre>
<h4 id="set">Set</h4>
<ul>
<li><code>Redis</code>的<code>Set</code>是<code>string</code>类型的无序集合。不允许出现重复的元素，</li>
<li>集合是通过哈希表实现的，所以添加，删除，查找的复杂度都是O(1)。</li>
<li>集合中最大的成员数为 232 - 1(4294967295, 每个集合可存储40多亿个成员)。</li>
</ul>
<hr>
<ul>
<li><code>sadd key member</code>// 添加一个string元素到,key对应的set集合中，成功返回1,如果元素已经在集合中返回0,key对应的set不存在返回错误。</li>
<li><code>srem key value1 value2</code>//删除key对应的set中指定的value</li>
<li><code>smembers key</code>//列举key对应的set中的所有value</li>
<li><code>sismember key value</code>//判断在该集合中是否存在该元素，返回布尔值</li>
<li><code>sdiff key1 key2</code>//两个集合的差集运算</li>
<li><code>sinter key1 key2</code>//两个集合的交集运算</li>
<li><code>sunion key1 key2</code>//两个集合的并集运算，自动去重</li>
<li><code>scard key</code>//集合对应的元素个数</li>
<li><code>srandmember key</code>//随机返回集合中的成员</li>
<li><code>sdiffstore key1 key2 key3</code>//求交集之后存储到kwy3，同理差集并集</li>
</ul>
<h5 id="应用场景">应用场景</h5>
<ul>
<li>获取唯一性数据</li>
<li>用于维护数据对象之间的关联关系（集合运算）</li>
</ul>
<pre><code class="language-cmd">redis 127.0.0.1:6379&gt; sadd runoob redis
(integer) 1
redis 127.0.0.1:6379&gt; sadd runoob mongodb
(integer) 1
redis 127.0.0.1:6379&gt; sadd runoob rabitmq
(integer) 1
redis 127.0.0.1:6379&gt; sadd runoob rabitmq
(integer) 0
redis 127.0.0.1:6379&gt; smembers runoob

1) &quot;rabitmq&quot;
2) &quot;mongodb&quot;
3) &quot;redis&quot;
</code></pre>
<h4 id="zset-sorted-set有序集合">zset (sorted set：有序集合)</h4>
<ul>
<li>Redis zset 和 set 一样也是string类型元素的集合,且不允许重复的成员。</li>
<li>不同的是每个元素都会关联一个double类型的分数。redis正是通过分数来为集合中的成员进行从小到大的排序。</li>
<li>zset的成员是唯一的,但分数(score)却可以重复。</li>
<li><code>zadd key score member</code>//添加元素到集合，元素在集合中存在则更新对应score</li>
<li><code>zscore key member</code>//获取对应的分数</li>
<li><code>zcard key</code>//获取对应的元素个数</li>
<li><code>zrem key mem1 mem2</code>//删除集合中对应的元素</li>
<li><code>zrange key index1 index2</code>//显示对应的下表范围内的元素，可使用参数<code>withscores</code>来决定是否显示对应的参数。默认由小到大排序</li>
<li><code>zrevrange key index1 index2</code>//从大到小</li>
<li><code>zrenrangebyrank key index1 index2</code>//根据顺序删除指定范围的元素</li>
<li><code>zrenrangebyscore key index1 index2</code>//根据分数范围删除指定的元素</li>
<li><code>zrangebyscore key1 index1 index2 withscores</code>//显示分数在指定范围内的元素，还可以使用<code>limit index1 index2</code>限定返回的个数</li>
<li><code>zincrby key score member</code>//指定成员的分数加分score</li>
<li><code>zcount key score1 score2</code>//显示指定的分数范围内的元素个数</li>
</ul>
<hr>
<h5 id="应用场景-2">应用场景：</h5>
<ul>
<li>积分排行榜</li>
<li>构建数据索引</li>
</ul>
<pre><code class="language-cmd">redis 127.0.0.1:6379&gt; zadd runoob 0 redis
(integer) 1
redis 127.0.0.1:6379&gt; zadd runoob 0 mongodb
(integer) 1
redis 127.0.0.1:6379&gt; zadd runoob 0 rabitmq
(integer) 1
redis 127.0.0.1:6379&gt; zadd runoob 0 rabitmq
(integer) 0
redis 127.0.0.1:6379&gt; ZRANGEBYSCORE runoob 0 1000

1) &quot;redis&quot;
2) &quot;mongodb&quot;
3) &quot;rabitmq&quot;
</code></pre>

                </div>
                <div class="clear"></div>
              </section>
            </article>
            <div class="clear"></div>

            <section class="related section">
              
              <article class="prev grid-50 tablet-grid-50 grid-parent">
                <div class="thumb cover lazy loaded" style="background-image: url('https://blog.shunzi.tech/media/images/suan-fa.jpg');"></div>
                 <a href="https://blog.shunzi.tech/post/arithmetic-sort-exercise-one/" class="full-link"></a>
                 <div class="info">
                  <time datetime="2017-12-13">2017-12-13</time>
                  <h4 class="title white no-margin">常见算法之寻找K大数</h4>
                </div>
                 <span class="epcl-button red">
                  <img src="https://blog.shunzi.tech/media/images/left-arrow.svg" width="15" alt="Left Arrow">
                </span>
                <div class="overlay"></div>
              </article>
              
              
              <article class="next grid-50 tablet-grid-50 grid-parent">
                <div class="thumb cover lazy loaded" style="background-image: url('https://blog.shunzi.tech/media/images/redis.jpg');"></div>
                 <a href="https://blog.shunzi.tech/post/redis-start-one/" class="full-link"></a>
                 <div class="info">
                  <time datetime="2017-12-07">2017-12-07</time>
                  <h4 class="title white no-margin">Redis安装与配置</h4>
                </div>
                 <span class="epcl-button red">
                  <img src="https://blog.shunzi.tech/media/images/right-arrow.svg" width="15" alt="Left Arrow">
                </span>
                <div class="overlay"></div>
              </article>
              

                <div class="clear"></div>
            </section>

              <div class="clear"></div>
              
            
              <div id="comments" class="bg-white hosted ">
                <div class="clear"></div>
<script>
jQuery(document).ready(function($){
    $('.vemoji-btn').text('😀');
    $("#comments").on('click', 'span.vat',function(){
        $(this).parent('div.vmeta').next("div.vcontent").after($("div.vwrap"));
        $('textarea#veditor').focus();
    })
    if(window.location.hash){
        var checkExist = setInterval(function() {
            if ($(window.location.hash).length) {
                $('html, body').animate({scrollTop: $(window.location.hash).offset().top-200}, 600);
                clearInterval(checkExist);
            }
        }, 100);
    }
})
</script>

              </div>
            

            </div>
          </div>
      </main>

          <footer id="footer" class="grid-container">
        <div class="widgets row gradient-effect">
            <div class="default-sidebar border-effect">
              <div class="grid-33 tablet-grid-50 mobile-grid-100">
                <section id="tag_cloud-2" class="widget widget_epcl_posts_thumbs underline-effect">
                  <h4 class="widget-title title white bordered">最新文章</h4>
                  
                  
                  <article class="item post-0 post type-post status-publish format-standard has-post-thumbnail hentry">
                    <a href="https://blog.shunzi.tech/post/cpp-multi-thread/" class="thumb hover-effect">
                      <span class="fullimage cover" style="display:block;border-radius:50%;background-image: url('https://raw.githubusercontent.com/zjs1224522500/PicGoImages/master//img/blog/20210513192958.png');"></span>
                    </a>
                    <div class="info gradient-effect">
                      <time datetime="2021-05-06">2021-05-06</time>
                      <h4 class="title usmall">
                        <a href="https://blog.shunzi.tech/post/cpp-multi-thread/">C++ 多线程</a>
                      </h4>
                    </div>
                    <div class="clear"></div>
                  </article>
                  
                  
                  
                  <article class="item post-1 post type-post status-publish format-standard has-post-thumbnail hentry">
                    <a href="https://blog.shunzi.tech/post/c-basic/" class="thumb hover-effect">
                      <span class="fullimage cover" style="display:block;border-radius:50%;background-image: url('https://raw.githubusercontent.com/zjs1224522500/PicGoImages/master//img/blog/20210513192631.png');"></span>
                    </a>
                    <div class="info gradient-effect">
                      <time datetime="2021-04-06">2021-04-06</time>
                      <h4 class="title usmall">
                        <a href="https://blog.shunzi.tech/post/c-basic/">C 基础</a>
                      </h4>
                    </div>
                    <div class="clear"></div>
                  </article>
                  
                  
                  
                  <article class="item post-2 post type-post status-publish format-standard has-post-thumbnail hentry">
                    <a href="https://blog.shunzi.tech/post/basic-of-concurrency-one/" class="thumb hover-effect">
                      <span class="fullimage cover" style="display:block;border-radius:50%;background-image: url('https://raw.githubusercontent.com/zjs1224522500/PicGoImages/master//img/blog/20200717213648.png');"></span>
                    </a>
                    <div class="info gradient-effect">
                      <time datetime="2021-04-05">2021-04-05</time>
                      <h4 class="title usmall">
                        <a href="https://blog.shunzi.tech/post/basic-of-concurrency-one/">Series Three of Basic of Concurrency - Condition Variables</a>
                      </h4>
                    </div>
                    <div class="clear"></div>
                  </article>
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  <div class="clear"></div>
                </section>
              </div>

              <div class="grid-33 tablet-grid-50 mobile-grid-100">
                <section id="tag_cloud-2" class="widget widget_tag_cloud underline-effect">
                  <h4 class="widget-title title white bordered">标签云</h4>
                  <div class="tagcloud">
                    
                      <a href="https://blog.shunzi.tech/tag/n2w6bz87h/" class="ctag ctag-0 ctag-n2w6bz87h" aria-label="">编程语言</a>
                    
                      <a href="https://blog.shunzi.tech/tag/3zCwFWPHxH/" class="ctag ctag-1 ctag-3zCwFWPHxH" aria-label="">存储</a>
                    
                      <a href="https://blog.shunzi.tech/tag/la-n8a0mo/" class="ctag ctag-2 ctag-la-n8a0mo" aria-label="">读书笔记</a>
                    
                      <a href="https://blog.shunzi.tech/tag/os/" class="ctag ctag-3 ctag-os" aria-label="">OS</a>
                    
                      <a href="https://blog.shunzi.tech/tag/5uQUdLlSC/" class="ctag ctag-4 ctag-5uQUdLlSC" aria-label="">Paper</a>
                    
                      <a href="https://blog.shunzi.tech/tag/_jfuTNqah/" class="ctag ctag-5 ctag-_jfuTNqah" aria-label="">LSM</a>
                    
                      <a href="https://blog.shunzi.tech/tag/hbaTDSglx-/" class="ctag ctag-6 ctag-hbaTDSglx-" aria-label="">工具</a>
                    
                      <a href="https://blog.shunzi.tech/tag/EO3XpMf_y/" class="ctag ctag-7 ctag-EO3XpMf_y" aria-label="">Linux</a>
                    
                      <a href="https://blog.shunzi.tech/tag/wAFV_pvXZ/" class="ctag ctag-8 ctag-wAFV_pvXZ" aria-label="">cs-course</a>
                    
                      <a href="https://blog.shunzi.tech/tag/VqiGqmxbod/" class="ctag ctag-9 ctag-VqiGqmxbod" aria-label="">6.824</a>
                    
                      <a href="https://blog.shunzi.tech/tag/geK0jEW-T/" class="ctag ctag-10 ctag-geK0jEW-T" aria-label="">分布式</a>
                    
                      <a href="https://blog.shunzi.tech/tag/l8sKsLUAi/" class="ctag ctag-11 ctag-l8sKsLUAi" aria-label="">KVS</a>
                    
                      <a href="https://blog.shunzi.tech/tag/9msH-lUaA/" class="ctag ctag-12 ctag-9msH-lUaA" aria-label="">缓存</a>
                    
                      <a href="https://blog.shunzi.tech/tag/i2b42Y2j6/" class="ctag ctag-13 ctag-i2b42Y2j6" aria-label="">Ceph</a>
                    
                      <a href="https://blog.shunzi.tech/tag/oBVOD8v4ou/" class="ctag ctag-14 ctag-oBVOD8v4ou" aria-label="">一致性</a>
                    
                      <a href="https://blog.shunzi.tech/tag/gqgftpk_y/" class="ctag ctag-15 ctag-gqgftpk_y" aria-label="">AI</a>
                    
                      <a href="https://blog.shunzi.tech/tag/shu-ju-ku/" class="ctag ctag-16 ctag-shu-ju-ku" aria-label="">数据库</a>
                    
                      <a href="https://blog.shunzi.tech/tag/ZnIN9Ge-w/" class="ctag ctag-17 ctag-ZnIN9Ge-w" aria-label="">对象存储</a>
                    
                      <a href="https://blog.shunzi.tech/tag/4zx4ysLGro/" class="ctag ctag-18 ctag-4zx4ysLGro" aria-label="">云计算</a>
                    
                      <a href="https://blog.shunzi.tech/tag/Y_nsOD1At/" class="ctag ctag-19 ctag-Y_nsOD1At" aria-label="">SSD</a>
                    
                      <a href="https://blog.shunzi.tech/tag/E2d1yYZcV8/" class="ctag ctag-20 ctag-E2d1yYZcV8" aria-label="">虚拟化</a>
                    
                      <a href="https://blog.shunzi.tech/tag/PhD/" class="ctag ctag-21 ctag-PhD" aria-label="">Ph.D</a>
                    
                      <a href="https://blog.shunzi.tech/tag/ZqEqvRTvl/" class="ctag ctag-22 ctag-ZqEqvRTvl" aria-label="">网络</a>
                    
                      <a href="https://blog.shunzi.tech/tag/PuY19cs53/" class="ctag ctag-23 ctag-PuY19cs53" aria-label="">仿真</a>
                    
                      <a href="https://blog.shunzi.tech/tag/rIIc9E-ZvN/" class="ctag ctag-24 ctag-rIIc9E-ZvN" aria-label="">系统结构</a>
                    
                      <a href="https://blog.shunzi.tech/tag/fu-wu-qi/" class="ctag ctag-25 ctag-fu-wu-qi" aria-label="">服务器</a>
                    
                      <a href="https://blog.shunzi.tech/tag/X-lnqf1Ex/" class="ctag ctag-26 ctag-X-lnqf1Ex" aria-label="">容器</a>
                    
                      <a href="https://blog.shunzi.tech/tag/5h7k39FKw/" class="ctag ctag-27 ctag-5h7k39FKw" aria-label="">C语言</a>
                    
                      <a href="https://blog.shunzi.tech/tag/diary/" class="ctag ctag-28 ctag-diary" aria-label="">Diary</a>
                    
                      <a href="https://blog.shunzi.tech/tag/DyzFtOe6x/" class="ctag ctag-29 ctag-DyzFtOe6x" aria-label="">计算机基础</a>
                    
                      <a href="https://blog.shunzi.tech/tag/oqE3oKihb/" class="ctag ctag-30 ctag-oqE3oKihb" aria-label="">OpenStack</a>
                    
                      <a href="https://blog.shunzi.tech/tag/p_z7gKe6R/" class="ctag ctag-31 ctag-p_z7gKe6R" aria-label="">中间件</a>
                    
                      <a href="https://blog.shunzi.tech/tag/Test/" class="ctag ctag-32 ctag-Test" aria-label="">测试</a>
                    
                      <a href="https://blog.shunzi.tech/tag/Product-Standard/" class="ctag ctag-33 ctag-Product-Standard" aria-label="">Product Standard</a>
                    
                      <a href="https://blog.shunzi.tech/tag/spring/" class="ctag ctag-34 ctag-spring" aria-label="">Spring</a>
                    
                      <a href="https://blog.shunzi.tech/tag/she-ji-mo-shi/" class="ctag ctag-35 ctag-she-ji-mo-shi" aria-label="">设计模式</a>
                    
                      <a href="https://blog.shunzi.tech/tag/mian-jing/" class="ctag ctag-36 ctag-mian-jing" aria-label="">面经</a>
                    
                      <a href="https://blog.shunzi.tech/tag/suan-fa/" class="ctag ctag-37 ctag-suan-fa" aria-label="">算法</a>
                    
                      <a href="https://blog.shunzi.tech/tag/redis/" class="ctag ctag-38 ctag-redis" aria-label="">Redis</a>
                    
                      <a href="https://blog.shunzi.tech/tag/javaweb/" class="ctag ctag-39 ctag-javaweb" aria-label="">JavaWeb</a>
                    
                      <a href="https://blog.shunzi.tech/tag/KyMCZj2Wl/" class="ctag ctag-40 ctag-KyMCZj2Wl" aria-label="">WEB容器</a>
                    
                      <a href="https://blog.shunzi.tech/tag/javase/" class="ctag ctag-41 ctag-javase" aria-label="">JavaSE</a>
                    
                  </div>
                  <div class="clear"></div>
                </section>
              </div>

              <div class="grid-33 tablet-grid-50 mobile-grid-100">
                <section id="epcl_about-2" class="widget widget_epcl_about underline-effect">
                  <h4 class="widget-title title white bordered">关于我</h4>
                  <div class="avatar">
                    <a href="" class="translate-effect thumb"><span class="fullimage cover" style="background-image: url(https://blog.shunzi.tech/images/avatar.png);"></span></a>
                  </div>
                  <div class="info">
                    <h4 class="title small author-name gradient-effect no-margin"><a href="">Elvis Zhang</a></h4>
                    <p class="founder">The easy way or the right way.</p>
                    <div class="social">
                      
                          
                            <a href="https://github.com/zjs1224522500" class="translate-effect" target="_blank"><i class="fa fa-github"></i></a>
                        
                      
                          
                            <a href="https://twitter.com/1224522500Elvis" class="translate-effect" target="_blank"><i class="fa fa-twitter"></i></a>
                        
                      
                        
                      
                        
                      
                        
                      
                    </div> 
                  </div>
                  <div class="clear"></div>
                  </section>
              </div>

            </div>
            <div class="clear"></div>
        </div>

        <div class="logo">
          <a href="https://blog.shunzi.tech"><img src="\media\images\custom-footerLogo.jpg" alt=""></a>
        </div>
        <p class="published border-effect">
          ©2019 共 115 篇文章
          <br/>
          Theme <a href="https://gridea.dev/" target="_blank">「breek」</a> Powered by <a href="https://gridea.dev/" target="_blank">「Gridea」</a>
        </p>
        
        <a href="javascript:void(0)" id="back-to-top" class="epcl-button dark" style="display:none">
          <i class="fa fa-arrow"></i>
        </a>
    </footer>
    
    <div class="clear"></div>

        
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/leancloud-storage/dist/av-min.js"></script>
<script type="text/javascript" src="https://cdn.staticfile.org/valine/1.3.10/Valine.Pure.min.js"></script>
<script>
    new Valine({
        el: '#comments',
        appId: 'Pj5H1z0w7hJlLGJpGBh9NrCq-MdYXbMMI' ,
        appKey: 'LdR8vK5EaBfK87esF7tlbsXe',
        pageSize: 30,
        placeholder: '既然来了，那就留个痕迹吧~',
        visitor: true // 阅读量统计
    })
</script>
    

      
    <script src="https://blog.shunzi.tech/media/js/functions-post.js"></script>

    </div>
    <!-- end: #wrapper -->
  </body>
</html>
